/**
 * <copyright>
 * </copyright>
 *

 */
package com.ldh.mod4j.businessdomain.businessDomainDsl.util;

import com.ldh.mod4j.businessdomain.businessDomainDsl.*;

import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;

import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * The <b>Adapter Factory</b> for the model.
 * It provides an adapter <code>createXXX</code> method for each class of the model.
 * <!-- end-user-doc -->
 * @see com.ldh.mod4j.businessdomain.businessDomainDsl.BusinessDomainDslPackage
 * @generated
 */
public class BusinessDomainDslAdapterFactory extends AdapterFactoryImpl
{
  /**
   * The cached model package.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  protected static BusinessDomainDslPackage modelPackage;

  /**
   * Creates an instance of the adapter factory.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public BusinessDomainDslAdapterFactory()
  {
    if (modelPackage == null)
    {
      modelPackage = BusinessDomainDslPackage.eINSTANCE;
    }
  }

  /**
   * Returns whether this factory is applicable for the type of the object.
   * <!-- begin-user-doc -->
   * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
   * <!-- end-user-doc -->
   * @return whether this factory is applicable for the type of the object.
   * @generated
   */
  @Override
  public boolean isFactoryForType(Object object)
  {
    if (object == modelPackage)
    {
      return true;
    }
    if (object instanceof EObject)
    {
      return ((EObject)object).eClass().getEPackage() == modelPackage;
    }
    return false;
  }

  /**
   * The switch that delegates to the <code>createXXX</code> methods.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  protected BusinessDomainDslSwitch<Adapter> modelSwitch =
    new BusinessDomainDslSwitch<Adapter>()
    {
      @Override
      public Adapter caseBusinessDomainModel(BusinessDomainModel object)
      {
        return createBusinessDomainModelAdapter();
      }
      @Override
      public Adapter caseAssociation(Association object)
      {
        return createAssociationAdapter();
      }
      @Override
      public Adapter caseBusinessClass(BusinessClass object)
      {
        return createBusinessClassAdapter();
      }
      @Override
      public Adapter caseEnumeration(Enumeration object)
      {
        return createEnumerationAdapter();
      }
      @Override
      public Adapter caseEnumerationLiteral(EnumerationLiteral object)
      {
        return createEnumerationLiteralAdapter();
      }
      @Override
      public Adapter caseAbstractBusinessRule(AbstractBusinessRule object)
      {
        return createAbstractBusinessRuleAdapter();
      }
      @Override
      public Adapter caseBusinessRule(BusinessRule object)
      {
        return createBusinessRuleAdapter();
      }
      @Override
      public Adapter caseUniqueRule(UniqueRule object)
      {
        return createUniqueRuleAdapter();
      }
      @Override
      public Adapter caseProperty(Property object)
      {
        return createPropertyAdapter();
      }
      @Override
      public Adapter caseBoolProperty(BoolProperty object)
      {
        return createBoolPropertyAdapter();
      }
      @Override
      public Adapter caseStringProperty(StringProperty object)
      {
        return createStringPropertyAdapter();
      }
      @Override
      public Adapter caseDateTimeProperty(DateTimeProperty object)
      {
        return createDateTimePropertyAdapter();
      }
      @Override
      public Adapter caseIntegerProperty(IntegerProperty object)
      {
        return createIntegerPropertyAdapter();
      }
      @Override
      public Adapter caseDecimalProperty(DecimalProperty object)
      {
        return createDecimalPropertyAdapter();
      }
      @Override
      public Adapter caseEnumerationProperty(EnumerationProperty object)
      {
        return createEnumerationPropertyAdapter();
      }
      @Override
      public Adapter defaultCase(EObject object)
      {
        return createEObjectAdapter();
      }
    };

  /**
   * Creates an adapter for the <code>target</code>.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param target the object to adapt.
   * @return the adapter for the <code>target</code>.
   * @generated
   */
  @Override
  public Adapter createAdapter(Notifier target)
  {
    return modelSwitch.doSwitch((EObject)target);
  }


  /**
   * Creates a new adapter for an object of class '{@link com.ldh.mod4j.businessdomain.businessDomainDsl.BusinessDomainModel <em>Business Domain Model</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see com.ldh.mod4j.businessdomain.businessDomainDsl.BusinessDomainModel
   * @generated
   */
  public Adapter createBusinessDomainModelAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link com.ldh.mod4j.businessdomain.businessDomainDsl.Association <em>Association</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see com.ldh.mod4j.businessdomain.businessDomainDsl.Association
   * @generated
   */
  public Adapter createAssociationAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link com.ldh.mod4j.businessdomain.businessDomainDsl.BusinessClass <em>Business Class</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see com.ldh.mod4j.businessdomain.businessDomainDsl.BusinessClass
   * @generated
   */
  public Adapter createBusinessClassAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link com.ldh.mod4j.businessdomain.businessDomainDsl.Enumeration <em>Enumeration</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see com.ldh.mod4j.businessdomain.businessDomainDsl.Enumeration
   * @generated
   */
  public Adapter createEnumerationAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link com.ldh.mod4j.businessdomain.businessDomainDsl.EnumerationLiteral <em>Enumeration Literal</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see com.ldh.mod4j.businessdomain.businessDomainDsl.EnumerationLiteral
   * @generated
   */
  public Adapter createEnumerationLiteralAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link com.ldh.mod4j.businessdomain.businessDomainDsl.AbstractBusinessRule <em>Abstract Business Rule</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see com.ldh.mod4j.businessdomain.businessDomainDsl.AbstractBusinessRule
   * @generated
   */
  public Adapter createAbstractBusinessRuleAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link com.ldh.mod4j.businessdomain.businessDomainDsl.BusinessRule <em>Business Rule</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see com.ldh.mod4j.businessdomain.businessDomainDsl.BusinessRule
   * @generated
   */
  public Adapter createBusinessRuleAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link com.ldh.mod4j.businessdomain.businessDomainDsl.UniqueRule <em>Unique Rule</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see com.ldh.mod4j.businessdomain.businessDomainDsl.UniqueRule
   * @generated
   */
  public Adapter createUniqueRuleAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link com.ldh.mod4j.businessdomain.businessDomainDsl.Property <em>Property</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see com.ldh.mod4j.businessdomain.businessDomainDsl.Property
   * @generated
   */
  public Adapter createPropertyAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link com.ldh.mod4j.businessdomain.businessDomainDsl.BoolProperty <em>Bool Property</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see com.ldh.mod4j.businessdomain.businessDomainDsl.BoolProperty
   * @generated
   */
  public Adapter createBoolPropertyAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link com.ldh.mod4j.businessdomain.businessDomainDsl.StringProperty <em>String Property</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see com.ldh.mod4j.businessdomain.businessDomainDsl.StringProperty
   * @generated
   */
  public Adapter createStringPropertyAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link com.ldh.mod4j.businessdomain.businessDomainDsl.DateTimeProperty <em>Date Time Property</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see com.ldh.mod4j.businessdomain.businessDomainDsl.DateTimeProperty
   * @generated
   */
  public Adapter createDateTimePropertyAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link com.ldh.mod4j.businessdomain.businessDomainDsl.IntegerProperty <em>Integer Property</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see com.ldh.mod4j.businessdomain.businessDomainDsl.IntegerProperty
   * @generated
   */
  public Adapter createIntegerPropertyAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link com.ldh.mod4j.businessdomain.businessDomainDsl.DecimalProperty <em>Decimal Property</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see com.ldh.mod4j.businessdomain.businessDomainDsl.DecimalProperty
   * @generated
   */
  public Adapter createDecimalPropertyAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link com.ldh.mod4j.businessdomain.businessDomainDsl.EnumerationProperty <em>Enumeration Property</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see com.ldh.mod4j.businessdomain.businessDomainDsl.EnumerationProperty
   * @generated
   */
  public Adapter createEnumerationPropertyAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for the default case.
   * <!-- begin-user-doc -->
   * This default implementation returns null.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @generated
   */
  public Adapter createEObjectAdapter()
  {
    return null;
  }

} //BusinessDomainDslAdapterFactory
